package com.wmh.baseservice.skd.service;

import com.wmh.baseservice.skd.pojo.SkdPickupPoint;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wmh.baseservice.skd.pojo.dto.NearbyPickupPointDTO;

import java.util.List;

/**
* @author CH
* @description 针对表【skd_pickup_point】的数据库操作Service
* @createDate 2023-12-28 10:15:30
*/
public interface SkdPickupPointService extends IService<SkdPickupPoint> {

    List<SkdPickupPoint> queryPickupPoints(Long usId, String queryName, Integer categoryId);

    /**
     * 根据经纬度获取附近自提点
     * @param lat 经度
     * @param lng 纬度
     * @return 返回自提点id列表
     */
    List<NearbyPickupPointDTO> getNearbyPickupPoints(String lat, String lng);
}
